package cn.yza.设计模式.工厂模式.抽象工厂;

/**
 * @author Honglixi
 * @create 2022-01-09 19:18
 */
public class AbsFactoryTest {
    public static void main(String[] args) {
        IHouseholdElectricFactory factory = new MeideHouseholdFactory();
        factory.createFridge().coldStorage();
        factory.createWasher().wash();
    }
}
